<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/7/9
 * Time: 19:52
 */
namespace Admin\Model;
use Base\Model\BaseModel;

class KidneysourcetypeModel extends BaseModel
{
    protected $_validate = array(
        array('name', 'require', '名称必须填写'),
        array('name', '', '名称不能重复', 0, 'unique', 3),
        array('name','/[a-zA-Z_\x{4e00}-\x{9fa5}\()]+/u', '名称不符合规则！',3),
    );
    protected $_auto = array(
    array('status', '1'),
    );
}